package com.fuqi.android.zhongcai.base.view.adapter;

import com.fuqi.android.zhongcai.R;
import com.fuqi.android.zhongcai.base.request.result.TrainListResult;

import java.util.List;

/**
 * create by juner
 * @Date 2016-8-31
 */


public class TrainingAdapter extends BaseRecyclerViewAdapter<TrainListResult>{


    public TrainingAdapter(List<TrainListResult> datas) {
        super(datas);
    }

    @Override
    protected int getLayoutId() {
        return R.layout.adapter_training;
    }

    @Override
    protected void onBind(ViewHolder holder, int position,TrainListResult data) {

        holder.setTextView(R.id.item_tv_title, data.getTitle());
    }
}
